package com.ideal.manage.esms.repository.project;

import com.ideal.manage.esms.bean.project.ControlOrder;
import com.ideal.manage.esms.repository.framework.BaseRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;


public interface ControlOrderRepository extends BaseRepository<ControlOrder,String > {
    @Query("select c.code from ControlOrder c where c.isValid=1")
    List<ControlOrder> findCode();
}
